// 页面布局
// 主色调
$main-color: #1678f9;

// 重置element-ui
::v-deep .el-form-item__error {
    padding-top: 6px;
}

::v-deep .el-form-item__label {
    text-align: left;
    font-size: 16px;
    color: #B1B1B1FF;
    padding: 0;
    line-height: 40px;
    position: relative;
    &:before {
        position: absolute;
        left: -10px;
    }
}

.el-date-editor.el-input,
.el-date-editor.el-input__inner{
    width: 100%;
}

// 重置自定义select
::v-deep .diy-select {
    width: 100%;
    .el-icon-caret-bottom{
        right: 17px;
        top: 12px;
    }
    .el-icon-circle-close{
        right: 10px;
        top: 12px;
    }
}

// 页面布局
.wrap {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1001;
    background-color: rgba(0, 0, 0, .3);
    .main {
        width: 1200px;
        height: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        .main-box{
            display: flex;
            width: 1080px;
            height: 640px;
            justify-content: space-between;
            align-items: stretch;
            border-radius: 4px;
            box-shadow: 0px 2px 50px 0px rgba(0,0,0,0.04),0px 0px 100px 0px rgba(22,120,249,0.07);
            overflow: hidden;
            .box-left{
                box-sizing: border-box;
                width: 600px;
                padding: 40px 310px 40px 40px;
                position: relative;
                .left-logo{
                    display: block;
                    width: 128px;
                    margin-bottom: 100px;
                }
                .left-title{
                    line-height: 52px;
                    font-size: 30px;
                    color: #fff;
                    margin-bottom: 8px;
                }
                .left-sub{
                    line-height: 22px;
                    font-size: 14px;
                    color: #fff;
                    margin-bottom: 40px;
                }
                .left-btn{
                    display: block;
                    width: 105px;
                    height: 32px;
                    text-align: center;
                    line-height: 32px;
                    font-size: 15px;
                    color: #fff;
                    border-radius: 30px;
                    border: 1px solid #fff;
                    text-decoration: none;
                    transition: 0.3s all;
                    &:hover{
                        background-color: rgba(22, 120, 249, 0.2);
                    }
                }
                .left-bg{
                    display: block;
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    left: 0;
                    top: 0;
                    z-index: -1;
                }
            }
            .box-right{
                box-sizing: border-box;
                width: 480px;
                padding: 60px;
                background-color: #fff;
                position: relative;
            }
        }
    }
}

.panel {
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    .panel-title {
        margin-bottom: 40px;
        .title-main{
            display: flex;
            height: 40px;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 4px;
            .main-left{
                position: relative;
                span{
                    font-size: 24px;
                    color: #323232;
                    font-weight: bold;
                    position: relative;
                    z-index: 10;
                }
                img{
                    display: block;
                    width: 56px;
                    position: absolute;
                    left: 0;
                    bottom: 0;
                }
            }
            .main-right{
                color: $main-color;
                &.is-underline:hover:after {
                    border-color: $main-color;
                }
            }
        }
        .title-sub{
            height: 20px;
            line-height: 20px;
            font-size: 14px;
            color: #B4B4B4;
        }
    }
    .panel-body {
        display: flex;
        .left-description {
            width: 244px;
            margin-right: 100px;
            display: flex;
            justify-content: center;
            align-items: center;
            .description-title {
                height: 60px;
                line-height: 60px;
                font-size: 24px;
                color: #25282E;
                font-weight: 500;
                margin-bottom: 40px;
                img {
                    width: 48px;
                    height: 48px;
                    vertical-align: middle;
                    margin-right: 15px;
                }
            }
            .description-content {
                line-height: 25px;
                font-size: 16px;
                color: #9A9A9A;
            }
            .description-btn {
                font-size: 18px;
                color: #1E75FF;
                padding: 5px 0;
                font-weight: bold;
            }
        }
        .submit-form {
            margin: 0;
            flex: auto;
            .el-form-item {
                margin-bottom: 0;
                &.is-error ::v-deep .el-input__inner,
                &.is-error ::v-deep .el-input__inner:focus {
                    border-color: #F56C6C;
                }
                &.all-screen {
                     ::v-deep .el-form-item__content {
                        margin: 0 !important;
                    }
                }
            }
            .el-select {
                width: 100%;
            }
            ::v-deep .el-input__inner,
            .el-button--primary {
                background: #F4F4F4FF;
                border-radius: 4px;
                width: 100%;
                height: 40px;
                line-height: 40px;
                font-size: 14px;
                border-color: #F4F4F4FF;
            }
            ::v-deep .el-input__suffix{
                right: 10px;
                line-height: 40px;
            }
            .el-button--primary {
                background: $main-color;
                padding: 0;
                font-size: 16px;
                border: none;
                &.is-disabled {
                    border-color: #F4F4F4FF;
                    background: #F4F4F4FF;
                    color: #9A9A9AFF;
                }
                &.grey-btn {
                    background: #F4F4F4FF;
                    color: #9A9A9AFF;
                }
            }
            .el-button--text{
                color: $main-color;
            }
            &.white-form {
                 ::v-deep .el-input__inner {
                    background: #fff;
                    border-color: #E6E6E6FF;
                }
            }
            .password-text {
                height: 22px;
                line-height: 22px;
                display: flex;
                justify-content: space-between;
            }
             ::v-deep .el-checkbox__inner {
                width: 14px;
                height: 14px;
            }
             ::v-deep .el-checkbox__label {
                vertical-align: middle;
                line-height: 22px;
                font-size: 14px;
            }
            .el-link.el-link--default {
                font-size: 14px;
                color: #B3B3B3FF;
                &.is-underline:hover:after {
                    border-color: #B3B3B3FF;
                }
            }
            .login-type {
                text-align: center;
                margin-top: 40px;
                .icon {
                    position: relative;
                    margin-bottom: 10px;
                    &:before,
                    &:after {
                        content: '';
                        display: block;
                        width: 144px;
                        height: 1px;
                        background-color: #E5E5E5FF;
                        position: absolute;
                        top: 17px;
                    }
                    &:before {
                        left: 0;
                    }
                    &:after {
                        right: 0;
                    }
                    img {
                        width: 36px;
                        height: 36px;
                        cursor: pointer;
                    }
                }
                .title {
                    line-height: 24px;
                    font-size: 12px;
                    color: #B2B2B2FF;
                }
            }
            .card-item {
                height: 48px;
                background: rgba(255, 255, 255, 1);
                box-shadow: 0 5px 18px 0 rgba(0, 0, 0, 0.08);
                border-radius: 4px;
                border: 1px solid rgba(218, 218, 218, 1);
                padding: 20px;
                display: flex;
                cursor: pointer;
                &.active {
                    .item-icon{
                        color: #1E75FF;
                    }
                }
                .item-logo {
                    width: 48px;
                    height: 48px;
                    margin-right: 13px;
                }
                .item-main {
                    flex: auto;
                    .main-name {
                        height: 28px;
                        line-height: 28px;
                        font-size: 18px;
                        color: #323232;
                        font-weight: 600;
                    }
                    .main-info {
                        line-height: 20px;
                        font-size: 14px;
                        color: #4D4D4D;
                    }
                }
                .item-icon {
                    font-size: 24px;
                    line-height: 48px;
                    color: #999999;
                }
            }
        }
    }
}
